#5A8231
Color Details
HEX
#5A8231
RGB
rgb(90, 130, 49)
HSL
hsl(90, 45%, 35%)
CMYK
cmyk(31%, 0%, 62%, 49%)
Best text on this color
#000000 (CR 4.67:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #5A8231
#5A8231 converts to RGB(90, 130, 49) and HSL(90, 45%, 35%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.
Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).
#5A8231 FAQs
What is the RGB value of #5A8231?
RGB: 90, 130, 49. Copy as CSS:
rgb(90, 130, 49)
Is #5A8231 a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #5A8231?
Complement: #593181.
Does #5A8231 have good contrast on white or black?
On white: 4.49:1 (AA (large text)).
On black: 4.67:1 (AA (normal text)).